﻿<%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Login.aspx.cs" Inherits="WebApplication.Account.Login" %>


<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div align="center">
            <form id="form1" method="post" action="">
				<table align="center">
					<tr>
					    <td style="width: 113px" align="center" colspan="2">
                            <asp:Label ID="ErrorLabel" runat="server" ForeColor="Red"></asp:Label></td>
					</tr>
					<tr>
						<td style="width: 113px"><asp:Label ID="UserNameLabel" Runat="server">User Name: </asp:Label></td>
						<td><asp:TextBox ID="UserNameTextBox" Runat="server" CausesValidation="true"></asp:TextBox></td>
					</tr>
					<tr>
						<td style="width: 113px"><asp:Label ID="PasswordLabel" Runat="server">Password: </asp:Label></td>
						<td><asp:TextBox ID="PasswordTextBox" TextMode="Password" Runat="server" CausesValidation="true"></asp:TextBox></td>
					</tr>
					<tr>
						<td colspan="2" align="center">
							<asp:Button id="LoginButton" runat="server" CssClass="buttons" 
                                onclick="LoginButton_Click" Text="Log on"></asp:Button>
						</td>
					</tr>
					<tr>
					    <td align="center" colspan="2">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserNameTextBox"
                                ErrorMessage="The User Name can not be empty."></asp:RequiredFieldValidator></td>
					</tr>
					<tr>
					    <td align="center" colspan="2">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="PasswordTextBox"
                                ErrorMessage="The Password can not be empty."></asp:RequiredFieldValidator></td>
					</tr>
				</table>
			</form>
            
		</div>
</asp:Content>
